package com.marlowe.asyouknow.controller;

import io.swagger.annotations.Api;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @program: as-you-know
 * @description: 首页controller
 * @author: Marlowe
 * @create: 2020-12-21 09:38
 **/
@Api(tags = "搜索引擎首页控制类")
@Controller
public class IndexController {
    @GetMapping({"/", "/index"})
    public String index() {
        return "index";
    }
}
